import request from '@/utils/request'

// 注册登录接口
export const login = data => request.post('/api/user-service/user/login', data)

// 图片验证码
export const Code = clientToken => request.get(`/api/user-service/user/imageCode/${clientToken}`, {

  Headers: { 'Content-Type': 'application/json' },
  responseType: 'arraybuffer'

})
